<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>物流管理系统主界面</title>
		<script src="../js/jquery-1.8.3.js"></script>
		<script src="../js/easyui/jquery.easyui.min.js"></script>
		<script src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
		<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
		<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
		<script src="../js/ztree/jquery.ztree.all-3.5.js"></script>
		<link rel="stylesheet" href="../js/ztree/zTreeStyle.css" />
		<script>
		/*	$(function(){
				$("#open01").click(function(){
					$("#mytable").tabs('add',{
						title:'面朝大海春暖花开',
						closable:'true',
						content:'我有一所房子面朝大海春暖花开'
					});
				});
			});*/
			
			$(function(){
				//简单的json格式实例
				var nodes = [
				{name:'基础数据',children:[
					{name:'基础档案设置'},
					{name:'收派标准'},
					{name:'班车管理'},
					{name:'快递员设置/替班'},
					{name:'区域设置'},
					{name:'管理分区'},
					{name:'管理定区/调度排班'},
					{name:'收派时间管理'}
				]},
				{name:'受理',children:[
					{name:'业务受理'},
					{name:'运单快速录入'},
					{name:'运单录入'},
					{name:'运单导入'},
					{name:'运单管理'},
					{name:'异调运单'},
					{name:'运单打印'}
					
				]},
				{name:'调度',children:[
					{name:'查台转单'},
					{name:'人工调度'},
					{name:'取派调度监控'},
					{name:'签收录入'},
					{name:'取消签收申请'},
					{name:'宣传任务'}
					
				]},
				{name:'分拣管理',children:[
					{name:'入库'},
					{name:'出库'},
					{name:'盘库'},
					{name:'合包'},
					{name:'到达时间录入'},
					{name:'出入库查询'},
					{name:'库存查询'},
					{name:'合包查询'}
				]}
				];
				//标准的json数据格式
				var znodes = [
				{name:'父节点一',children:[
					{name:'子节点一'},
					{name:'子节点二',children:[
					{name:'孙节点一'}
					]}
				]},{name:'父节点二',children:[
					{name:'子节点一'},
					{name:'子节点二'},
					{name:'子节点三'}
				]}
				
				];
				
				//开启简单的json数据格式的支持
				var setting = {
					data:{
						simpleData:{
							enable:true
						}
					}
				};
				//生成树形菜单
				$.fn.zTree.init($("#basemenu"),setting,nodes);
				
			});
			
			
			
			
			
		</script>
		
	</head>
	<body class="easyui-layout">
		<div data-options="region:'north',title:'物流管理系统'" style="height: 100px;">北部</div>
		<div data-options="region:'west',title:'菜单导航'" style="width: 200px;" class="easyui-accordion" >
			<div title="基础数据"  style="overflow:auto;">
				<ul id="basemenu" class="ztree"></ul>
			</div>
			<div title="系统管理"  style="overflow:auto;">
				<ul id="systemManager" class="ztree"></ul>
			</div>
			
		</div>
		<div data-options="region:'center'" >
			<div id="mytable" class="easyui-tabs" data-options="fit:'true'">
				<div data-options="title:'选项卡一',closable:'true'"></div>
				<div data-options="title:'选项卡二'"></div>
			</div>
			
		</div>
		<div data-options="region:'east'" style="width: 100px;">东部</div>
		<div data-options="region:'south'" style="height: 80px;">南部</div>
	</body>
</html>
